<?php if (!defined('THINK_PATH')) exit(); echo W('Header');?>
<div id="J_CatSlide" class="cat-slide">
    <div class="slideTxtBox_nav">
        <div class="left_nav">
            <div class="leftNav" id="J_mainCata">
                <ul class="cat-slide-nav clearfix">
                    <?php if(is_array($cateArr)): foreach($cateArr as $k=>$v): ?><li class=" j_CatNavItem cat-nav">
                            <div class="leftNav_p0<?php echo ($k+1); ?>" style="position:relative">
                                <s class="cat-nav-icon iconfont oms-<?php if($k == 0): ?>zxyy<?php elseif($k == 1): ?>ysty<?php elseif($k == 2): ?>yybj<?php elseif($k == 3): ?>ylqx<?php elseif($k == 4): ?>jsyp<?php elseif($k == 5): ?>mzgh<?php elseif($k == 6): ?>myyp<?php endif; ?>"></s>
                                <a class="a1" href="<?php echo U(GROUP_NAME.'/Goods/showList',array('cate_id'=>$v['id']));?>"
                                   title="<?php echo ($v["cate_name"]); ?>"><?php echo ($v["cate_name"]); ?></a>
                                <b class="cat-nav-arrow"></b>
                            </div>
                            <div class="leftSubNav" style="left:170px; z-index:-1; display:block;">
                                <div class="leftSubNav_list">
                                    <div class="leftSubNav_left">
                                        <?php if(is_array($v["child"])): foreach($v["child"] as $key=>$val): ?><div class="leftSubNav_left_txt none">
                                                <p class="p1"><a
                                                        href="<?php echo U(GROUP_NAME.'/Goods/showList',array('cate_id'=>$val['id']));?>"
                                                        target="_blank" class="left_l"><?php echo ($val["cate_name"]); ?></a><a
                                                        href="<?php echo U(GROUP_NAME.'/Goods/showList',array('cate_id'=>$val['id']));?>"
                                                        class="left_more">更多></a></p>
                                                <dl class="cat-label-list">
                                                    <?php if(is_array($val["child"])): foreach($val["child"] as $key=>$value): ?><dd>
                                                            <a href="<?php echo U(GROUP_NAME.'/Goods/showList',array('cate_id'=>$value['id']));?>"
                                                               target="_blank"><?php echo ($value["cate_name"]); ?></a></dd><?php endforeach; endif; ?>
                                                    <div class="blank"></div>
                                                </dl>
                                            </div><?php endforeach; endif; ?>
                                    </div>
                                </div>
                            </div>
                        </li><?php endforeach; endif; ?>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="banner_mid">
    <script src="__PUBLIC__/Js/js/jquery.pack.js"></script>
    <script src="__PUBLIC__/Js/js/jquery.SuperSlide.js"></script>
    <div id="slideBox" class="slideBox">
        <div class="hd ">
            <ul>
                <li>1</li>
                <li>2</li>
                <li>3</li>
                <li>4</li>
            </ul>
        </div>
        <div class="bd">
            <ul>
                <li class="li_1">
                    <div class="banner_main_con"><a href="#" target="_blank" class="main_banner_a"></a>
                        <div class="mall_banner_ad">
                            <a href="http://sevenyucode.cn/MC_OMS/goods.php?id=1472" target="_blank" class="mall_ban">
                                <img width="190" height="240" src="__PUBLIC__/Images/images/a1.jpg"></a>
                            <b class="banner-separator"></b>
                            <a href="http://sevenyucode.cn/MC_OMS/goods.php?id=1471" target="_blank" class="mall_ban">
                                <img width="190" height="240" src="__PUBLIC__/Images/images/a2.jpg"> </a>

                        </div>
                    </div>
                </li>
                <li class="li_2">
                    <div class="banner_main_con"><a href="#" target="_blank" class="main_banner_a"></a>
                        <div class="mall_banner_ad">
                            <a href="http://sevenyucode.cn/MC_OMS/goods.php?id=1472" target="_blank" class="mall_ban">
                                <img width="190" height="240" src="__PUBLIC__/Images/images/a3.jpg"><s></s> <i></i> </a>
                            <b class="banner-separator"></b>
                            <a href="http://sevenyucode.cn/MC_OMS/goods.php?id=1471" target="_blank" class="mall_ban">
                                <img width="190" height="240" src="__PUBLIC__/Images/images/a4.jpg"><s></s> <i></i> </a>
                        </div>
                    </div>
                </li>
                <li class="li_3">
                    <div class="banner_main_con"><a href="#" target="_blank" class="main_banner_a"></a>
                        <div class="mall_banner_ad">
                            <a href="http://sevenyucode.cn/MC_OMS/goods.php?id=1472" target="_blank" class="mall_ban">
                                <img width="190" height="240" src="__PUBLIC__/Images/images/a5.jpg"><s></s> <i></i> </a>
                            <b class="banner-separator"></b>
                            <a href="http://sevenyucode.cn/MC_OMS/goods.php?id=1471" target="_blank" class="mall_ban">
                                <img width="190" height="240" src="__PUBLIC__/Images/images/a6.jpg"> <s></s><i></i> </a>
                        </div>
                    </div>
                </li>

                <li class="li_4">
                    <div class="banner_main_con"><a href="#" target="_blank" class="main_banner_a"></a>
                        <div class="mall_banner_ad">
                            <a href="http://sevenyucode.cn/MC_OMS/goods.php?id=1472" target="_blank" class="mall_ban">
                                <img width="190" height="240" src="__PUBLIC__/Images/images/a7.jpg"><s></s> <i></i> </a>
                            <b class="banner-separator"></b>
                            <a href="http://sevenyucode.cn/MC_OMS/goods.php?id=1471" target="_blank" class="mall_ban">
                                <img width="190" height="240" src="__PUBLIC__/Images/images/a8.jpg"> <s></s><i></i> </a>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
    <script type="text/javascript">
        $(function () {
            jQuery(".slideBox").slide({mainCell: ".bd ul", autoPlay: true, delayTime: 700});

            $(".mall_banner_ad").find("a").each(function () {
                $(this).hover(function () {
                    $(this).stop().animate({left: -5}, "200");
                }, function () {
                    $(this).stop().animate({left: 0}, "200");
                });
            });
        });
    </script>
</div>
<div class="block_w" id="block_w">
    <div class="block">
        <script type="text/javascript">
            jQuery(".seckill").slide({
                titCell: ".hd ul",
                vis: 5,
                mainCell: ".bd ul",
                effect: "leftLoop",
            });
        </script>
        <?php if(is_array($cateArr)): foreach($cateArr as $k=>$v): ?><div class="j_LazyloadCon2 floor<?php echo ($k+1); ?>">
                <div class="fp-floor fp-floor-nvz">
                    <div class="floor-content grid-container-1190">
                        <div class="grid-col-190 floor-show">
                            <ul class="floor-show-top floor-title">
                                <li>
                                    <a href="<?php echo U(GROUP_NAME.'/Goods/showList',array('cate_id'=>$v['id']));?>">
                                        <span class="floor-key"><?php echo ($v["cate_name"]); ?></span>
                                    </a>
                                </li>
                            </ul>
                            <div class="picScroll-left-g">
                                <div class="hd">
                                    <a class="next fp-iconfont">㑤</a>
                                    <a class="prev fp-iconfont">㑥</a>
                                </div>
                                <div class="bd">
                                    <ul class="picList">
                                        <li>
                                        </li>

                                        <li>
                                        </li>

                                        <li>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                            <script type="text/javascript">
                                jQuery(".picScroll-left-g").slide({
                                    titCell: ".hd ul",
                                    mainCell: ".bd ul",
                                    autoPage: true,
                                    effect: "left",
                                    autoPlay: true,
                                    scroll: 1,
                                    vis: 1
                                });
                            </script>
                            <div class="floor-show-bottom">
                                <ul class="floor-label-list">
                                    <?php if(is_array($v["child"])): foreach($v["child"] as $key=>$val): ?><li><a href="<?php echo U(GROUP_NAME.'/Goods/showList',array('cate_id'=>$val['id']));?>"
                                               target="_blank" title="<?php echo ($val["cate_name"]); ?>"><?php echo ($val["cate_name"]); ?></a></li><?php endforeach; endif; ?>
                                </ul>
                            </div>
                        </div>
                        <?php if(is_array($goodsArr)): foreach($goodsArr as $key=>$value): if($key == $k): ?><div class="floor-banner-container">
                                    <div class="grid-col-400 floor-banner">
                                        <a href="<?php echo U(GROUP_NAME.'/Goods/index',array('id'=>$value[0]['id']));?>">
                                            <img src="<?php echo U('/'.$value[0]['img']);?>" width="399" height="422"/> </a>
                                    </div>
                                    <div class="grid-col-199 floor-banner floor-banner2">
                                        <a href="<?php echo U(GROUP_NAME.'/Goods/index',array('id'=>$value[1]['id']));?>">
                                            <img src="<?php echo U('/'.$value[1]['img']);?>" width="199" height="211"/> </a>
                                        <a href="<?php echo U(GROUP_NAME.'/Goods/index',array('id'=>$value[2]['id']));?>">
                                            <img src="<?php echo U('/'.$value[2]['img']);?>" width="199" height="211"/> </a>
                                    </div>
                                    <div class="grid-col-199 floor-banner floor-banner2">
                                        <a href="<?php echo U(GROUP_NAME.'/Goods/index',array('id'=>$value[3]['id']));?>">
                                            <img src="<?php echo U('/'.$value[3]['img']);?>" width="199" height="211"/> </a>
                                        <a href="<?php echo U(GROUP_NAME.'/Goods/index',array('id'=>$value[4]['id']));?>">
                                            <img src="<?php echo U('/'.$value[4]['img']);?>" width="199" height="211"/> </a>
                                    </div>
                                    <div class="grid-col-199 floor-banner floor-banner2">
                                        <!--<p class="floor_imgs">-->
                                            <a href="<?php echo U(GROUP_NAME.'/Goods/index',array('id'=>$value[5]['id']));?>">
                                            <img src="<?php echo U('/'.$value[5]['img']);?>" width="199" height="211"/> </a>
                                        <!--</p>-->
                                        <a href="<?php echo U(GROUP_NAME.'/Goods/index',array('id'=>$value[6]['id']));?>">
                                            <img src="<?php echo U('/'.$value[6]['img']);?>" width="199" height="211"/> </a>
                                    </div>
                                </div><?php endif; endforeach; endif; ?>
                    </div>
                </div>
            </div><?php endforeach; endif; ?>
        <script type="text/javascript">
            // 楼层"F"
            $(".title_txt").each(function (i) {
                $(this).find("span").text((i + 1) + "F");
            });
            // 广告图片的文字图片滑动展示
            (function ($) {
                $.fn.extend({
                    ad_slide: function (options) {
                        var _this = this;
                        _this.cur = options.current;
                        _this.minwidth = options.minwidth;
                        _this.maxwidth = options.maxwidth;
                        _this.picstyle = options.picstyle;
                        //设置
                        _this.set = function (lid, obj) {
                            obj.parent().children('li').removeClass(_this.cur);
                            obj.parent().children('li').children('i').remove();
                            obj.parent().children('li').stop(true).animate({
                                width: _this.minwidth
                            }, 300);
                            obj.stop(true).animate({
                                width: _this.maxwidth
                            }, 300);
                            obj.append('<i></i>');
                            var left = 190 * (lid);
                            $(_this.picstyle).stop(true).animate({
                                left: -left + 'px'
                            }, 300);
                        }
                        //初始化
                        _this.init = function () {
                            var len = $(_this.picstyle + ' li').length;
                            var liwidth = $(_this.picstyle + ' li').width();
                            $(_this.picstyle).width(liwidth * len);
                            _this.mouseover(function () {
                                _this.set($(this).attr('lid'), $(this));
                            });
                        }
                        _this.init(); //运行
                    }
                });
            })(jQuery);
            (function () {
                $(".ad_pic").each(function (i) {
                    $(this).attr("id", "ad_pic" + (i + 1));
                });
                $(".ad_text").each(function (i) {
                    $(this).attr("id", "ad_text" + (i + 1));
                });
                for (var i = $('.ad_text').length; i > 0; i--) {
                    $('#ad_text' + i + ' li').ad_slide({
                        current: "current",
                        minwidth: "120px",
                        maxwidth: "180px",
                        picstyle: "#ad_pic" + i
                    });
                }
                ;
            })();
        </script>
    </div>
</div>
<div id="topcontrol" class="mui-lift"
     style=" display:none; overflow: visible; width: 35px; height: 430px; margin-left: -632px; z-index: 999998;">
    <div class="sn-nav-wrapper"
         style="position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; margin: auto; display: block; width: 35px; height: 437px; -webkit-transform: scale(1); opacity: 1; -webkit-transition: all 0.3s ease; ">
        <?php if(is_array($cateArr)): foreach($cateArr as $k=>$v): ?><a href="javascript:void(0)" class="mui-lift-nav mui-lift-two-line">
                <b class="mui-lift-nav-num"><?php echo ($k+1); ?>F</b>
                <em class="mui-lift-nav-name"><?php echo ($v["cate_name"]); ?></em>
                <s class="mui-lift-nav-line"></s>
            </a><?php endforeach; endif; ?>
        <a id="sider_returntop" class="mui-lift-top fp-iconfont" href="javascript:void(0);" title="回到顶部"
           style="display: block;"> 㑫</a></div>
</div>
<?php echo W('Footer');?>
</body>
</html>